/**
 * 
 */
package com.nars.date;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Student
 * 
 */
public class DateDemo {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Date currentDate = new Date();
		System.out.println("Current Date: " + currentDate.toString());
		
		SimpleDateFormat sdf1;
		SimpleDateFormat sdf2;
		SimpleDateFormat sdf3;
		sdf1 = new SimpleDateFormat("MM/dd/yyyy");
		sdf2 = new SimpleDateFormat("EEEE");
		sdf3 = new SimpleDateFormat("KK:mm:ssa");
		System.out.println("Current Date: " + sdf1.format(currentDate));
		System.out.println("Current Date: " + sdf2.format(currentDate));
		System.out.println("Current Date: " + sdf3.format(currentDate));
	}
}
